<?php
namespace Home\Controller;



use Common\Base\BaseController;

class IndexController extends BaseController {

    public function index()
    {
        $this->display();

    }


    public function test1()
    {

        S('name', 'zhangsan');
    }

    public function test2()
    {
        dump(S('name'));
    }

    public function dbtest()
    {
        dump(M('user')->find());
        dump(M('user')->getLastSql());
    }
}